package com.example.android.BluetoothChat;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

@SuppressLint("NewApi")
public class DetailActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
		setContentView(R.layout.activity_detail);
		
		TextView valueText = (TextView) findViewById(R.id.sensor_value);
		Bundle bundle = getIntent().getExtras();
		String str = bundle.getString("value");
		valueText.setText(str);
	}

}
